adding check for audio format