implemented playback and record