removed some unnecessary type hints