added missing variables to params list