Removed unnecessary function definition