removed some unused code from binary