oops
smgblock.py