updated directive sample