changed to be compatible with struct

Fork of dataComm_Brad by Bradley Perry