add comments for all existing code