Implementation of delindex!