added OutputBytes func