return just index