set target_type = rate in proc.py