added example code for reversible