Update Map.java

temporary changes, may need further correction