added missing synchronized