added code coverage hook