moved variables over to server state