try to typehint it correctly