oops: make it so the vars are defined in both client and server