type hint is appropriate