beginning of server