made seq number functional