updated 2 more code in Permutation - done