remove unused function definition