the joys of type hinting... but this does make sense, right?