deleted method in Database.java