removing unused function to fix build.