Remove unused function
wip