tab function and type hints