Map generation work