remove strat code from main