adding notes for code