don't loop inside template