Just adding comments to the controller (no change in algorithm).