perform some work on a revision