There is already a variable 'n' in fun bar(): Int. It will conflict with the new parameter.