removed hard coded time for alarm