correct function is deleteCharacters and not deleteCharacter