added bodycapture as bytearray