W3A2: Make code compatible with beep again.