fixing a commented out piece of code