get sequence value