please use the variable `type` here