added valve enable option