added some parameters and ConvByteToInt.