adding a `version` function