updated CharacterCd.php