finished server stuff