add some functions to repo for working with versions