changed to allow perm lvl