added --rev to --join