Added the select winner functionality