refctor placetext() into StringHandler
refactor compareText into stringhandler