Add buffer struct