initial commit of checksumming functions