Refactoring and wins/total