lab5: Section A done