an alarm can warns of danger