Updated Temp.java and DataBase.java