add index for solutions