wrote dist model
wrote Profit model