Makesum and checksum first working version