replaced internal representation from _integer with _binary