added the bits before the final part of the map