add support to multi lines and center