add function DeleteCharacter()