better mocking - second try