changing to pom type