First proper version of example1.py