Final Code before python check (remember to remove binconv and datdonv)