Query.java done