better layout in text application