added dragging, fixed VI/VII issue