some initial server code