Example for beep function