fixed type hinting