Chnages to Three Stack