working on the alarm part