refactored mock.