map structure creation