alarm is functional