avoiding obstructions