added tseries and modified mse