Section 3-3
solution to #6