Why not return ranges (replace the brackets with parens) instead of arrays?