Modifying return variables in Database.java