modifies layout