Added some comments to bases.r