refactor for more consistent naming
center map on load