Added bytes encoding