add range to output