deleteVersions functionality completed