add asserts for ALL fields of the data metric structure
add comments for handler to do later
fix warning