complete main server