add sequece and link stack