implemented some method mocks