add the nest example code