removing unused bit of code