select server and client model