an alarm clock is used for waking at a specified time.