removed reference to old Obstacle class