wStarted work on alarm
alarm function(untested)