Add comments on optimization