added position field for reordering