remove some old code that wasn't being used