simplify index creation