updated examples so that they are consistent with the current API, using Odedata.