updated runner logic