range of dates object code is simplified