reorganize accAPI again