finalizing orders