added alarm scheduler