change: add comments for optimization