Adds head and foot and finishes advanced