old project example, see upqueue.py