added static buffer