finished all functionality of grax_map_aa; need to clean up code later on