libraries to make the alarm activation work