add new palindrome method