properly instantiate typeof(), too