Greating map of objects