add access directive