merge these two views and use conditional statements to display the correct elements for each section