added comments to fragment