Added comments to help code