why changing this instead of keeping a typehint ?