example of server working