Corrected the model and generated the order total