Got rid of old code that didn't work