utility library for binary