add function for setAlarm