overcoming  the "logging" warnings