added LIFO, still stochastic behavior