added record/playback