Changed function definition type
Worked