Added versioning function