Ok, so the functions need to be outside the loop, so that they do not interfere with other aspects of the code. Let me try that.
Ok, so the functions need to be outside the loop, so that they do not interfere with other aspects of the code. Let me try that.