add; mocking for client