adding hibernate