hw3: fix rho