updated comments on text search