simplify local buffer structure