add single and index