Now uses HelperFunction rather than hacked isPalindrome