preparing to save the order