map generator. prototype