character manipulation