exporting and drawing obstacles.