added lambda to quote handler