rename old loop-based code

this may still have value for documentation purposes.