Added new character function