start on perm check functions