implement saving of recording