Removed unused bit of code