Use T not ptype