started coding the client