refactored quote-based code fragments