basic alarm functionality. added notifs, but not alert yet