got map generation working