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