MIRROR of http://osp.kitchen/work/variable-loop