add index seperately