fixed permutation function
isTrue type function
permutation checking on add works