added some built-in character functions