Delete part functionality finished