add a use range to handle date