add function that listens for a period of silence (untested)