added Obstacles class