Dealing with expected and unexpected obstacles