fix snakes example