simulate sequence