changed stack diagram