Added A Bit More Code Related To The Perms