add a dict argv sample
modify class sample