updated sat-check routine