close, but still having some threenum to python object casting issues