add some comments for the 2nd solution