print function changed in examples
changes in tools