ided the problem, program is intolerant of wrong arguments