Added new throughput block, and updated code with throughput