modified ybs/pybs.py