Added unused function deletion