modified: ybs/pybs.py