populate.py commented + subscribe/unsubscribe functions