handle seq