add acc_proc class to deal with the acc data