implemented new obstacle removal and addition process