Made the if alarm more readable