final version of volume control implemented