removed unused references to beep()