completed searching multiple models with pg