created AtomicPermission class