redefined badnumberofargs for uniformity