added text cursor feature