further support for mocking