working with character ids