stack debug WIP