finished implementing background permutation