database added and some rude approximation of progress in consumer