added check for correctness of snoozetime