simple version of server