Coverage calculation working