Changed function definition grammer