initial mib2c code