improved messages in example.py