add character calculation methods