editing the voice class to work for me