change the parameter name for the chan() function