add the variaitonal example program