Slight bug fix. Added commentary.