remove unnecessary win() callback function and added setVolume method.