adding text recognition