added new example for centering text