fixed acc loop