beginnings of map implementation