formatting and changed addQuote to insert all quotes in data object regardless of amount