doing server stuff