missed a few attribute names, extra * for a main thread ptr