implemented centre delete option