Setting parent on childs, use color in calculations