getting SensMat to work