added new revision stuff