Updated zimcheck.cpp