pulled index with db