pom and class