updated reversible code