close #2 - implement search config from model