use ternary expr; middle-of-func docstring -> comment