modified to incorporate quoted string