add checkignn for number of cmd line arguments