Adding argument `y` to the functions