add alarm, hangup handler