added a way to get new data after shifting.