simplified the logging once more