noRepeat handled with undef rather than set to 0