example.py synchronized with new structrure and tested