changed print statements and added check for VNIC template