Removed old function

Took out old commented out function as it served no purpose to keep it.