- added perms for keepInv