Initial implementation of stack dragging