first version of quote generation