PI rates and recomb rates in seperate subroutines