refactors order methods