beggingi of binary serialization