add cxAutoPoolInit method