added quote submit function