start of new_client + tests