states armed and alarm implemented