adding chracter api