Create finalrev

added delete function