added samples to index and created timeAndRisk