remove logging messages from the code