Added ByteData class for recieving data