Initial func of perms