planned demoalllib.py code