Added winning span to winning function