merged new_acc into acc_apply, simplifying code.