simulation method examples