new feature : add obstacles