maze state work