changed flag from ALARM to SECURITY