changed up PID loops with more logical variable names