improved circuit compiling still not fully working improved circuit compiling still not fully working