is there a way to do this with a named argument, rather than an indexed one?