remove unused bit of code