make sure to reseed random number generator. fix xy and shuffle again