working on method of moments