Added static to function definition