integrate basic grid and shuffling