setting up framework for map