switching to serve from server