2nd commit - comments edited to reflect the output