added hibernate stuff2