require encode and decode directly