header and server work