added string buffer