added header to network transfer