modifying f(k) (change parameter)