key_val structs done and working, issues with clock() on csl machines, though