If device