type hints on strucures