added data and tested location.java