method of symmetric polynomials