finalizing and correct order