comments to beforeHandler