fixed deprecated method, added pentatonic scale