add switch to use or not call acc manager in accAPI