added some comments to the rb file