server workings