changing layout and text layout