Advanced examples updated