Modify LocationObject.java