basic single run functionality added