working on DataRetrieve.java