use Quoter class to remove some conditionals