simplify earlyorder()