added str2list conversion function