changed throughput calculation