References are now correct