first working version of server