Develop

This parent reference is redundant if you retain the parentage in a list as you move down.  In this case i'd pass a ref to the parentage list in as an argument.