Commenting and code structure