One use is in the determination of asteroid masses via the dynamic method. In this procedure Gauss's method is used twice, both before and after a close interaction between two asteroids. After both orbits have been determined the mass of one or both of the asteroids can be worked out.[citation needed]