Why the function define by only one value to the y? What problems can it cause if I don't define function in this way?