added playback functionality on load