changed randomness of piece choice