Might need a different way of handling ranges.