buffer work, strict js