add indices and symbol