jail break, lesson2 perm check