removing unused function to remove warning