generated the correct quote