modified debugging and ethernet to use the union/struct format