First working prototype with map.