Added callback to add in index