Working add and index