adding getCharBoundaries()