revised section 2
removed used of lists