modified text layout