createChild refactoring 3 & bug fixes