trying to get hibernate to work