remove unnecessary print statemetns