removed an unused bit of code