adapt to external sources numbering inclusive ranges from one