contains pom and reverse string methods