shuffling logs