added string declarations in tsmain.cpp