8 Create search conditions generator