Change $parameters to $params.