work add a to index