first version of server complete