work on stack view (still in progress)
other work on stack view