self executing function to kick start the map