Added delete IP function