now considering historic data for test data