Added string buffer generation