added character functions