server code version 1.0