added method to record movie