fixing call to now work with ArgNamed arguments in function definitions