cleaned up examples and added logging messages