added some JPA stuff