replace source shuffling with config