add server method example