Parameters don't match function definition