add copy right
add test for  Granularity