children are added to same rank as parent- need to fix