Got playback logic somewhat to work