plz add conditions for backtesting