Put revisions in function.