further filled srvr_main()