macro to check SCurve results