changed code layout, added section outline