add sequence and link queue