reordering definitions