changed number of arguments before throwing error