replaced old code with new one, same application state