adding index
init es by default