Removed bit of old code