modified app to use pentatonic scale