iterate through mandatory search terms