added ammap state selection