version listing helper refactoring