doing ri revision (not done)