changed from .split to variable substitution due to str and list squishing errors