pom refactored