HW3, space cleanup