palindrome spec