Changed %lf to %f