add revision printing