complete palindrome functions module