modifies text and layout