Gemini JPA (modified)