this `type` var was never actually used here