made text searching simpler

removed the mapping function all together for consistensy