added comments to action handlers