Added to relaxation method.