Added pi_rates.c