added functionality to remove walls