stack written out successfully.