public msgpack method