Using times instead of %rep