Extracted view coverage code from SIMS project