Added a random obstacle and resource