removed unused function call