added string builder and popen