use parent array for positions