added winner method and tests - needs refactoring