bex encoding updated
data source for buffer simplified