Make endoder pass assign to variable before passing into value_list