adding method to handle quoted strings