adding ability to supress logging