added addquote() function from last commit