add palindrome check