parentloop no longer exists, so forloop.parentloop.counter will probably break