some more server example reworking