working on setTextPointer