server example with comments