adding iptype support