working on recursive child parsing