added a simple version of parsing a quoted string