graphs.py now calculates coverage