Fixed warnings. Added owner variable to Order