addding index