add get run logic