added draw and winner functionality