Added ability to record and play back