Set the constant proc name before the loop for speed and clarity.