finished hibernate stuff