Work on client and connection