adding stack and tweakinga bit on editor