add comments for both methods