Here `lags` should be `Integer`