attempt at fixing string concatenation problem