maps are working, but just barley, in need of cleanup and refactoring.