clock now works as alarm and as timer