updated code to a make quote object