add winner/devices and unit testing for winner calculating