improved  text layout