explain server mode in more detail