added missing type hints