Fixed up the for loop. Cleaned how the string is generated