added part of palindrome_v1