handle character data