added comments to blocks controller