added date range method