changes to seb encoding