adds coverage reporting
removes unused code