rewriting the client
gave the client the form needed. Next step: write main