Added pausing and recording