Improving the VAD algorithm