deleting lots of code from blocking.py