allocation, speed, permutation, selection fix