Written addquote function