an alarm can be used to indicate an emergency