added missing variables