Add in a sample function using named parameters; this has been not working properly in some recent versions