refactor to more generic monitoring formula; stubbed out variety of components; still not tested