logging, minor changes