logging and small textual changes