add function of whisper