main.py: experimental implemenation