NullSens separated into sub-functions