Added invio and nic code parts