added ability to mod CN attribute