add comments for the code