First cut of the quote function