refactored to use harness code in srs