Added some  work in-class to fix my permutation method.