refactoring: don't use required-keyword argument