properly add stuff to the map