handles single quoted string