mocking out more function