implemented empty voice detection