implemented alarm loop into scribcurity