function to simulate NS Artifact Detection Classic
use NS artifact classic
code for NS artifact classic
code for NS artifact classic