working but throughput calc is wrong for now.