add total num and args check