added data versioning