modifies layout.