added previous states