refactor date scope with last_argument variable