Better alarm triggering