map mostly done