Changed u and f