removed unused type variable