Converting Map.cpp part 1