Worked on backtesting