Adds changes to get the desired layout