before merging am_exhausive and nm_exhausive