Remove unused function used in experiment