added child db functionallaty