netOrder code simplified. Annotations need to be removed