Example code: warning fix + comments.