notes about logging and debugging added