refactor POM