minor edits to outline
flatten outline structure