Notes & comments on how to correct my code