fixing randomness and winners