checksum fix and added a simple profiler