add checksum stuff