adding client server model