Completed client and server