correct the method for computing mu