preparations for reading search terms