updated ReadTSDU function