put server stuff into start