modify requires by parameter mode is done. there is a problem adding the parameter as a free var that still needs to be resolved.