Filled out the valve open and close actions