change argc==3 to argc==2