changed qoute generation