adds index to annoitations