adding t7 loops