alarm seperated from task.js