Added debug state and simple run timer