implemented audio recording