add comments for future reference
add palindorme checker method