Refactor doubleSecond