Working on dependent db search