Changed style of function definition