changed setVolume example to match api docs