optional arguments for makeCommandHandler type of funcs