added new mode in datapacket