rename end-of-body callback method