added checksum methods [ but theres somewhere bug in them, packets are broken after]