added variable injection rate