added  code coverage hook