valve functionality: