add deep.loop