updated example with stacked_results